package com.atguigu.jmap;

import java.util.ArrayList;

/**
 * @author shkstart
 * @create 17:49
 * -Xms60m -Xmx60m -XX:SurvivorRatio=8
 */
public class GCTest {
	public static void main(String[] args) {
		ArrayList<byte[]> list = new ArrayList<>();
		for (int i = 0; i < 1000; i++) {
			byte[] arr = new byte[1024 * 100];//100KB
			list.add(arr);
			try {
				Thread.sleep(60);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}
}
